#ifndef CCOPTIONSPRJDLG_H
#define CCOPTIONSPRJDLG_H

#include <wx/intl.h>
#include "configurationpanel.h"
#include "nativeparser.h"
#include "parser/parser.h"

class M_Code_Project;

class CCOptionsProjectDlg : public cbConfigurationPanel {
  public:
    CCOptionsProjectDlg( wxWindow* parent, M_Code_Project* project, NativeParser* np );
    virtual ~CCOptionsProjectDlg();
    virtual wxString GetTitle() const { return _T( "C/C++ 解析器" ); }
    virtual wxString GetBitmapBaseName() const { return _T( "generic-plugin" ); }
    virtual void OnApply();
    virtual void OnCancel() {}
  protected:
    void OnAdd( wxCommandEvent& event );
    void OnEdit( wxCommandEvent& event );
    void OnDelete( wxCommandEvent& event );
    void OnUpdateUI( wxUpdateUIEvent& event );
  private:
    M_Code_Project* m_Project;
    NativeParser* m_NativeParser;
    ParserBase* m_Parser;
    wxArrayString m_OldPaths;
    DECLARE_EVENT_TABLE()
};

#endif
